<div class="modal-content">
	<div class="modal-header">
		<h4 class="modal-title">添加菜单</h4>
		<button type="button" class="close" data-dismiss="modal"
			aria-label="Close">
			<span aria-hidden="true">×</span>
		</button>
	</div>
	<div class="modal-body">
		<div class="form-group row" >
			<label class="col-sm-2 col-form-label">菜单名称</label>
			<div class="col-sm-4">
				<input type="text" ng-model="form.name" class="form-control" form-check="must" form-check-alert="应用名不能为空！" />
			</div>
			<label class="col-sm-2 col-form-label">序号</label>
			<div class="col-sm-4">
				<input type="text" ng-model="form.order_no" class="form-control" form-check="must,number" form-check-alert="请填写正确的序号！"/>
			</div>
		</div>
		<div class="form-group row">
			<label class="col-sm-2 col-form-label"><span
				class="glyphicon glyph{{form.img}}"></span> 图标</label>
			<div class="col-sm-4">
				<input type="text" class="form-control"
					style="width: 35%; display: inline;" ng-model="form.img" /> 
					<select ng-model="form.img" class="form-control" style="width: 49%; display: inline;">
					<option ng-repeat="icon in icons " value="{{icon.name}}">iconfont {{icon.name}}</option>
				</select>
			</div>
			
			 <label class="col-sm-2 col-form-label">效果</label>
		    <div class="col-sm-4">
		      <button type="button" class="btn btn-{{form.style}}"><i class="iconfont {{form.img}}"></i>&nbsp; {{form.name}}</button>
		    </div>
		</div>
		<div class="form-group row">
			<label  class="col-sm-2 col-form-label">样式</label>
		    <div class="col-sm-4">
		    	<input type="text" ng-model="form.style" class="form-control"   />
		    </div>
		    <label  class="col-sm-2 col-form-label">表号</label>
		    <div class="col-sm-4">
		    	<input type="text" ng-model="form.excelnum" class="form-control"   />
		    </div>
		</div>
		<div class="form-group row">
			<label class="col-sm-2 col-form-label">网页端地址</label>
			<div class="col-sm-10">
				<input type="text" ng-model="form.path" class="form-control" form-check="must" form-check-alert="网页端地址不能为空！" >
			</div>
		</div>
		<div class="form-group row">
			<label class="col-sm-2 col-form-label">移动端地址</label>
			<div class="col-sm-10">
				<input type="text" ng-model="form.mobile_url" class="form-control">
			</div>
		</div>
		<div class="form-group row">
			<label class="col-sm-2 col-form-label">说明</label>
			<div class="col-sm-10">
				<textarea class="form-control" ng-model="form.comment"
					rows="3"></textarea>
			</div>
		</div>
	</div>
	<div class="modal-footer">
		<button ng-click="saveForm()" type="button" class="btn btn-success"><i class="iconfont icon-correct"></i>&nbsp;保存</button>
	</div>
</div>